let choice = {
    callfn:null,
    callindex:null,
    layer:null,
    getcall:function (url,lay,call) {
        this.callfn = call;
        this.layer = lay;
        this.callindex = lay.open({
            title:'文件选择',
            type:2,
            maxmin:true,
            area:['910px','700px'],
            btn:false,
            content:url,
            yes:function (index) {

            }
        });
    }
};
function imgListCall(data) {
    if(data.w=='conf'){
        choice.callfn(data.data);
    }
    choice.layer.close(choice.callindex);
}
function choices(url,lay,call) {
    choice.getcall(url,lay,call);
}